// internal/dao/schema/customer_one_touch_video_task.go
package schema

import "time"

// CustomerOneTouchVideoTask AI 成片
type CustomerOneTouchVideoTask struct {
	ID                      int64     `json:"id" gorm:"id"`
	WebSiteId               int64     `json:"web_site_id" gorm:"web_site_id"`
	Name                    string    `json:"name" gorm:"name"`
	Keyword                 string    `json:"keyword" gorm:"keyword"`
	VideoTotalNumber        int64     `json:"video_total_number" gorm:"video_total_number"`
	VideoRatio              int8      `json:"video_ratio" gorm:"video_ratio"`
	VideoBackground         int8      `json:"video_background" gorm:"video_background"`
	AiSmartVoice            int8      `json:"ai_smart_voice" gorm:"ai_smart_voice"`
	AiSmartVoiceVolume      int8      `json:"ai_smart_voice_volume" gorm:"ai_smart_voice_volume"`
	ShowSubtitle            int8      `json:"show_subtitle" gorm:"show_subtitle"`
	AiBackgroundMusic       int8      `json:"ai_background_music" gorm:"ai_background_music"`
	AiBackgroundMusicVolume string    `json:"ai_background_music_volume" gorm:"ai_background_music_volume"`
	AiTitle                 int8      `json:"ai_title" gorm:"ai_title"`
	SourceFileDetailIdArray string    `json:"source_file_detail_id_array" gorm:"source_file_detail_id_array"`
	Status                  int8      `json:"status" gorm:"status"`
	CreatedAt               time.Time `json:"created_at" gorm:"created_at"`
	UpdatedAt               time.Time `json:"updated_at" gorm:"updated_at"`
	IsFilterSensitive       int8      `json:"is_filter_sensitive" gorm:"is_filter_sensitive"`
	CoverSourceFileArray    string    `json:"cover_source_file_array" gorm:"cover_source_file_array"`
	VideoTemplateId         string    `json:"video_template_id" gorm:"video_template_id"`
	Tips                    string    `json:"tips" gorm:"tips"` // 套餐异常提示
}

// TableName 表名称
func (*CustomerOneTouchVideoTask) TableName() string {
	return "customer_one_touch_video_task"
}
